﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Escape
{
    class MovingBlock : Block
    {
        public MovingBlock(Vector3 p)
        {
            this.position = p;
            loadTexture("Textures\\movingBlock");
            collisionDistanceX = 0.2f;
            collisionDistanceZ = 0.2f;
        }

        public override void use() //Summer Jam?!
        {
            position.X += 0.005f;
            base.use();
        }
    }
}
